﻿using System;
using Shanfree.SharpMovie.Model;
using System.Collections.Generic;
using Shanfree.Framework.Utility;

namespace Shanfree.SharpMovie.IDAL
{
    public interface IListItem : IDBPersistenceBase<ListItemInfo>
    {
        IList<ListItemInfo> GetList(string listID, int pageSize, int pageIndex);
                /// <summary>
        /// 更新收藏项
        /// </summary>
        /// <param name="listID">收藏分类主键</param>
        /// <param name="movieID">电影主键</param>
        /// <param name="remark">项注释</param>
        /// <param name="sortIndex">排序号</param>
        void Update(string itemID, string remark, int sortIndex);
        int Count(string listID);
    }
}
